package framework.view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JPanel;

import framework.model.Model;

/**
 * All the views have to extend this class
 * @author Stephan Veenstra
 * @version 0.1
 */

public abstract class View extends JPanel implements ActionListener {

	private Model model;
	
	public View(Model model) {
		this.model = model;
	}
	
	/**
	 * Constructor without parameters
	 * @method View (Constructor)
	 */
	public View() {
		//TODO fill
	}
	
	protected Model getModel(){
		return this.model;
	}
	
}
